package com.gzq.builder.practice;

public class Client {

    public static void main(String[] args) {
        Director director = new Director();
        ProductA productA1 = director.createProductA1();
        System.out.println("A1=====================");
        productA1.run();

        ProductA productA2 = director.createProductA2();
        System.out.println("A2=====================");
        productA2.run();

        ProductB productB1 = director.createProductB1();
        System.out.println("B1=====================");
        productB1.run();

        ProductB productB2 = director.createProductB2();
        System.out.println("B2=====================");
        productB2.run();

    }
}
